package com.nail.api.customMake.service;

import com.nail.api.customMake.bean.GoodsPrice;
import com.nail.service.IBaseService;
import com.nail.utils.PageResult;

import java.util.List;

/**
 * Created by jie on 2017/9/17.
 */
public interface IGoodsPriceService extends IBaseService{

    public boolean addGoodsPrice(GoodsPrice goodsPrice);

    public boolean updateGoodsPrice(GoodsPrice goodsPrice);

    public void deleteGoodsPrice(Long id);

    public List<GoodsPrice> getGoodsPrices(PageResult pageResult);

    public GoodsPrice getGoodsPricesById(Long id);

    public void setIsAble(Long id,Integer isAble);

    public GoodsPrice getGoodsPricesByType(Integer type);
}
